package Common;

public class IndexType {

	public static final int None = 0;

	public static final int B_Index = 1;

	public static final int Hash = 2;

	public int indexType;

	/**
	 * IndexType Constructor
	 */

	public IndexType(int _indexType) {
		indexType = _indexType;
	}

	public String toString() {

		switch (indexType) {
		case None:
			return "None";
		case B_Index:
			return "B_Index";
		case Hash:
			return "Hash";
		}
		return ("Unexpected IndexType " + indexType);
	}

}
